/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.impl;
import model.*;


/**
 *
 * @author juli
 */
public class InvitationMysqlImpl implements Invitation{
    private int key;
    private int id_room;
    private int id_org;
    private String name;
    private String date;
    private String description;
    private String guests;
    private String hora_init ="";
    private String hora_fin ="";

    InvitationMysqlImpl() {
        name="";
        date="";
        description="";
        guests="";
        hora_init="";
        hora_fin="";
    }


    public int getKey() {
        return this.key;
    }

    public void setKey(int key) {
        this.key=key;
    }

     public int getKeyRoom() {
      return id_room;
     }

    @Override
    public String getName() {
       return name;
    }

    @Override
    public String getDate() {
        return date;
    }

    @Override
    public String getDescription() {
        return description;
    }

    @Override
    public String getGuests() {
        return guests;
    }
    
    public void setKeyRoom(int k) {
       id_room=k;
    }

    @Override
    public void setName(String d) {
        name=d;
    }

    @Override
    public void setDate(String d) {
    date=d;
    }

    @Override
    public void setDescription(String d) {
     description=d;
    }
    
    public void setGuests(String d) {
     guests=d;
    }

    
    public int getKeyOrg() {
        return id_org;


    public String getHorInit(){
        return hora_init;
    }

 
    public String getHorFin() {
        return hora_fin;
    }

    
    public void setKeyOrg(int k) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    
    public void setHorInit(String hor) {
        this.hora_init = hor;
    }

    
    public void setHorFin(String hor) {
        this.hora_fin = hor;
    }
}